home *** CD-ROM | disk | FTP | other *** search
- ; Shaders Script file
- ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
- ; Author: Honich Andrey
-
- Version (1.00)
-
- //========================================================================
- // ATI R3xx / NVidia NV3X (PS.2.0 / PS.2.X only)
-
- // Specular & Diffuse bump-mapping with fresnel real-time env. CM reflections masked by gloss-map
- // At least two passes for multiple light sources
- // One pass for single light source
-
- // Supports:
- // 1. Dot3 light maps
- // 2. Simple light maps
- // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
- // 4. Stencil shadows
- // 5. Three types of light sources (Directional, Point/Omni, Projected)
- // 6. Optimised separate techniques for Single/Multiple light sources
-
- Shader 'TemplBumpSpec_Gloss_EnvCMSpec_RT_PS20'
- (
- Params
- (
- Sort = Opaque
- )
- Public
- (
- float 'EnvMapContrast' (0)
- float 'EnvMapSaturation' (1)
- float 'EnvMapAmount' (1)
- float 'FresnelScale' (1)
- float 'FresnelBias' (0)
- float 'FresnelPow' (5)
- float 'SpecularExp' (32)
- )
- RenderParams
- {
- DrawFarSprites
- DrawStaticObjects
- DrawParticles
- DrawEntities
- DrawIndoors
- DrawDetailTextures
- FullDetailTerrain
- DrawWater
- DrawTerrain
- }
-
- #define $ENVCMAP $EnvironmentCubeMap
- #include "BumpSpecular_Gloss_EnvCMSpec_PS20.csi"
- #undefine $ENVCMAP
- )
-
-